package com.ctshk.rpc.season.req;

import com.ctshk.common.enums.IsDeletedCode;
import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 固定套票 搜索条件
 *
 * @ClassName SearchFixedProduct
 * @Description: TODO
 * @Author 杨林
 * @Date 2021/3/11
 **/
@Data
@ApiModel(value = "SearchFixedProductReq对象", description = "固定套票搜索条件req")
public class SearchFixedProductReq extends PageReq implements Serializable {

    @ApiModelProperty(value = "产品编码")
    private String code;

    @ApiModelProperty(value = "产品标题")
    private String productName;

    @ApiModelProperty(value = "产品副标题")
    private String subtitle;


    @ApiModelProperty(value = "套票类型id", required = true)
    private Long seasonTypeId;

    @ApiModelProperty(value = "出发城市id")
    private Long depCityId;

    @ApiModelProperty(value = "到达城市id")
    private Long arrCityId;

    @ApiModelProperty(value = "旅游组别id")
    private Long travelGroupId;

    @ApiModelProperty(value = "旅游组别")
    private String travelGroup;

    @ApiModelProperty(value = "种类")
    private String kind;

    @ApiModelProperty(value = "主题ID")
    private Long theme;

    @ApiModelProperty(value = "适用人群id")
    private Long applicableCrowdId;

    @ApiModelProperty(value = "负责人id")
    private Long chargeUserId;

    @ApiModelProperty(value = "售卖状态（0 无效，1 有效）全部的时候传'' 或者不传")
    private Integer sellStatus;

    @ApiModelProperty(value = "审批状态（1 待提交，2 审批中，3 审批通过 4 审批不通过）")
    private Integer approvalStatus;


    @ApiModelProperty(value = "负责人ids")
    private List<Long> chargeUserIds;
    @ApiModelProperty(value = "用户id")
    private Long userId;


    @ApiModelProperty(value = "上架渠道")
    private Integer onShelfStatus;

    @ApiModelProperty(value = "是否 推荐（1：推荐 0：不推荐")
    private Integer isRecommend;

    private Integer isDeleted = IsDeletedCode.NO.getCode();


    @ApiModelProperty(value = "出发开始日期")
    private String startDate;


    @ApiModelProperty(value = "是否是搜索， 默认不搜索 显示推荐的产品 false：不搜索 true：搜索")
    private boolean isSearch = false;
    @ApiModelProperty(value = "渠道Id 1线下自营 2线下代理 3线上官方渠道 4线上第三方渠道")
    private Integer channelId;

    @ApiModelProperty(value = "1：用户ID；2：代理ID；3：渠道ID；4：渠道ID")
    private Long relId;


    @ApiModelProperty(value = "成人数")
    private int adult;
    @ApiModelProperty(value = "小童数")
    private int child;

    @ApiModelProperty(value = "价格的顺序 true为顺序,false为倒序")
    private boolean price = true;
    @ApiModelProperty(value = "价格的顺序 true为顺序,false为倒序")
    private boolean sales = true;


    @ApiModelProperty(value = "是否为线上产品的预订产品查询")
    private boolean isOnline = true;

    @ApiModelProperty(value = "是否展示缓存价格")
    private boolean isCachePrice = false;


}
